package com.g5kj.coupon.ssm.dao;

import com.g5kj.coupon.ssm.model.TagEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by apple on 2017/5/17.
 */
public interface ArticleTagDao {


    /**
     * 新增
     * @param entity
     * @return
     */
   int insertTag(TagEntity entity);

   List<TagEntity> listTag();

   int update(TagEntity entit);

   int deleteTag(@Param("id")int id);
}
